Release 10.1A: OpenEdge Development:
Progress 4GL Reference
CLOSE-LOG( ) method
Closes the current log file, which stops an interactive or batch client from writing messages to the log file.
The CLOSE-LOG( ) method writes a message to the log file indicating that the client intentionally closed the log file, so that the user knows why there are no more messages in the log file.
Note: This method is valid only for interactive and batch clients. WebSpeed agents and AppServer servers write a message to the server log file indicating that it is invalid to use the CLOSE-LOG( ) method to close a WebSpeed or AppServer server log file. In this case, the method returns FALSE. Return type: LOGICAL Applies to: LOG-MANAGER system handle
Notes
- If the CLOSE-LOG( ) method successfully closes the open log file, it returns TRUE.
- If the CLOSE-LOG( ) method fails, it returns FALSE and displays a warning message indicating the reason for the failure.
- If there is no client log file, the CLOSE-LOG( ) method returns TRUE and does not display a warning message.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |